package cn.janyd.jmall.userweb.converter;

import cn.janyd.jmall.userweb.controller.passport.vo.PassportLoginBySmsReqVo;
import cn.janyd.jmall.user.rpc.user.dto.UserCreateReqDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author janyd
 * @since 2020/8/10 18:30
 */
@Mapper
public interface PassportConverter {

    PassportConverter INSTANCE = Mappers.getMapper(PassportConverter.class);

    UserCreateReqDTO convert(PassportLoginBySmsReqVo loginBySmsReqDTO);
}
